Skip to content

Conversation

@AlexeySachkov
Copy link
Contributor

@AlexeySachkov AlexeySachkov commented Sep 22, 2025

This PR prepares for removal (once preview breaking changes are promoted) of the following handler APIs:

  • single_task(kernel, [](){})
  • lambdaAndKernelHaveEqualName()
  • getKernelName()

The first one was the user-visible API that was never part of the actual SYCL standard, the rest were the ABI entry points necessary to implement that API.

This PR prepares for removal (once preview breaking changes are
promoted) of the following handler APIs:
- `single_task(kernel, [](){})`
- `lambdaAndKernelHaveEqualName()`
- `getKernelName()`
impl->MKernelData.setDeviceKernelInfoPtr(
&detail::ProgramManager::getInstance().getOrCreateDeviceKernelInfo(
toKernelNameStrT(getKernelName())));
std::string(MKernel->getName())));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

toKernelNameStrT implementation is under preview, I'd prefer not touching its uses and leave the actual "simplification"/inlining of *KernelNameStr*T types to after all the non-preview uses are completely removed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

toKernelNameStrT implementation is under preview,

It can't be under preview because the code I'm changing is not under preview. I made the change because local build failed, but I've just realized that detail:: is missing

aelovikov-intel

This comment was marked as outdated.

@AlexeySachkov
Copy link
Contributor Author

Timed Out Tests (1):
  SYCL :: Adapters/enqueue-arg-order-buffer.cpp

Couldn't have been caused by the PR, I will proceed with merge. The test had been already reported as hanging once: #13534

@AlexeySachkov AlexeySachkov merged commit a122a28 into intel:sycl Sep 23, 2025
26 of 27 checks passed
@AlexeySachkov AlexeySachkov deleted the private/asachkov/handler-abi-cleanup-1 branch September 23, 2025 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants